<?php /* Smarty version 2.6.16, created on 2013-09-04 16:15:02
         compiled from ../templates/default//modules/myaccount/changepassword.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<link rel="stylesheet" type="text/css" href="';  echo $this->_tpl_vars['siteroot'];  echo '/templates/default/style/dashboard.css"><script src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/myaccount.js" type="text/javascript"></script>'; ?>

<?php echo '
<script type="text/javascript">
function isSpace(e)                                                                   //Check for Blank spaces
{
	if(navigator.appName=="Microsoft Internet Explorer")
	{
		if(e.keyCode==32)	
		{
			return false;
		}
	}
	if(navigator.appName=="Netscape")
	{
		if(e.which==32)	
		{
			return false;
		}
	}
	return true;
}
</script>
'; ?>

   <!-- MIDDLE CONTAIN GOES HERE -->
<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['cms_left_content'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
        	                <?php if ($this->_tpl_vars['msg']):  echo $this->_tpl_vars['msg'];  endif; ?>
                <section class="title_box">
                    <h4>Change Password</h4>
                    <section class="clear"></section>
                </section>
                  <form method="post" action="" name="frmMngPassword" id="frmMngPassword">
                <section class="profile_wrapp">
                    <dl>
                        <dt><label>Current Password :  </label></dt>
                        <dd><input type="password" name="current_pass" id="current_pass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    <dl>
                        <dt><label>New Password  </label></dt>
                        <dd><input type="password" name="pass" id="pass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    <dl>
                        <dt><label>Confirm-Password </label></dt>
                        <dd><input type="password" name="cpass" id="cpass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    
                    <section class="bt_save_wrapp">
                    	<input type="submit" value="Save" class="bt_save" name="password_btn" id="password_btn"/>
                        <input type="button" value="Cancel" name="cancel_btn" id="cancel_btn" class="bt_save" <?php if ($_SESSION['user_type'] == '3'): ?> onclick="window.location.href='<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/'" <?php else: ?> onclick="window.location.href='<?php echo $this->_tpl_vars['siteroot']; ?>
/profile/<?php echo $this->_tpl_vars['userDetArray']['newcomapnyname']; ?>
'" <?php endif; ?>/>
                    </section>
                </section>
            </section>
            </form>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>